package com.daxt.model.service.archives.vo;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "档案数据节点", description = "档案数据节点")
//@TableName("\"daxt\".\"ARCHIVES_DATA\"")
@TableName("archives_data")
public class ArchivesData implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "id", name = "id")
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	
	@ApiModelProperty(value = "数据列", name = "dataColumn")
    private String dataColumn;
	
	@ApiModelProperty(value = "数据值", name = "dataValue")
    private String dataValue;
   
	@ApiModelProperty(value = "数据列描述", name = "dataColumnComment")
    private String dataColumnComment;
	
	@ApiModelProperty(value = "父id", name = "parentId")
    private String parentId;

	@ApiModelProperty(value = "门类ID", name = "typeId")
    private String typeId;
	private Integer sort;
	private String isCatalog;
	@TableField(exist = false)
	private List<ArchivesData> children=new ArrayList<ArchivesData>();
}